Skip to main content

All Questions

0votes
1answer
41views

How can I wrap all blog posts image with <picture class="c-picture">

Excellent WordPress programmers, I'd like to resolve an image issue with my WordPress theme. I tried everything I could, but I couldn't find a solution. The issue is that my added blog posts images ...
Godwin's user avatar
0votes
1answer
25views

theme style is applied on the dhasboard rather than the website

I am creating a new theme, I created a new directory called mytheme and created three files directly inside the directory where the content is as follow: index.php <?php echo "hellow world&...
user avatar
1vote
0answers
38views

Which html elements should be styled in wordpress theme

At the Wordpress Codex said next: All possible HTML elements should be styled by your theme (unless it is a child theme), both in post/page content and in comment content. Tables, captions, images, ...
Volodymyr's user avatar
0votes
1answer
327views

Why nav_menu_css_class doesn't work with apply_filters?

I was trying to add css class to nav items. The documented function call in WordPress docs was apply_filters( 'nav_menu_css_class', string[] $classes, WP_Post $item, stdClass $args, int $depth ) But ...
Nelson Luk's user avatar
0votes
0answers
14views

WP - Best way to store theme colors to use in SASS/SCSS, JSX (blocks) and PHP [duplicate]

I want to have a way to change theme colors once and use them in SCSS, JSX and PHP. Right now I have the theme colors in my variables.scss like: $theme-colors: ( base: #fff, primary: #5bb57a, ...
Tim's user avatar
  • 167
1vote
1answer
593views

Dequeue a style file which is making website load slow!

I have a website running on GrandNews WordPress Theme (https://themeforest.net/item/grand-news-news-magazine/15885465) and loading via KeyCDN. The site is loading a CSS file located at websitedomain....
Sheryl's user avatar
0votes
1answer
542views

How can I fix my theme header for my CSS stylesheet?

/*  Theme Name:     Its Bullish  Theme URI:      https://www.itsbullish.com  Description:    Its Bullish  Author:         Bullish Advertising  Author URI:     https://itsbullish.com  Template:       ...
Zack's user avatar
1vote
0answers
1kviews

Font Awesome 5 Free - far working but fas is not? [closed]

This is making me crazy. I'm using Font Awesome 5 Free in custom list styles using :before and content: In every instance, far icons are working and fas icons are not. I've checked everything I ...
user avatar
0votes
0answers
269views

How to generate a rtl.css file for themes?

I'm developing a theme and would like it to support RTL languages. I'd like to automatically generate a partial RTL file, that is, with only the relevant selectors flipped, but every tool I've tried ...
leemon's user avatar
  • 2,032
0votes
1answer
751views

How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?

I would like to add toggle style button near the left sidebar for collapsing and opening/closing the left sidebar of Wordpress default Twenty Fifteen theme. I have this code for only removing the ...
vinpinadu's user avatar
0votes
2answers
841views

how to add custom css at top above all css file for specific url

i want to add my css file bootstrap.min.css on top of all css file. I used below code wp_enqueue_style( 'bootstrap_css', 'bootstrap.min.css' ); but it add css below theme css file . Issue is that i ...
user1799722's user avatar
0votes
1answer
463views

What is the meaning of WordPress's recommended css classes and where are they applied?

I am creating a theme and when I was checking my theme in the theme check plugin, I saw a lot of errors about css classes. They say some of the classes are required in the theme. These css classes ...
Allen Titan's user avatar
1vote
1answer
124views

Wordpress Unite Theme: Footer isn't sticking [closed]

I have been all over in regards of trying to troubleshoot why my footer is not staying at the bottom of the page, below all the content. My theme is Unite. It's not online, so I cannot provide a link....
MJV's user avatar
  • 37
22votes
7answers
30kviews

How to add CSS class to custom logo?

I enabled custom-logo for my theme and have it printed with <?php the_custom_logo(); ?> into the header. Is there any chance to simply add some more classes to this image directly? Per default ...
norman.lol's user avatar
4votes
1answer
6kviews

Editing the custom background CSS

I have added the add_theme_support( 'custom-background'); function to my functions.php but the css added to the wp_head isn't the way I want it to be. <style type="text/css" id="custom-background-...
J. Doe's user avatar

153050per page
close